﻿<Window x:Class="GUI.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Custom="clr-namespace:GUI.Custom_Classes"
    xmlns:tabs="clr-namespace:GUI.Tabs"
    xmlns:local="clr-namespace:GUI"
    Title="LEET Enhances Exploratory Testing" 
    Loaded="TT_GUI_Loaded"
    Name="TT_GUI"
    BorderThickness="2" 
    SizeToContent="WidthAndHeight" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" d:DesignHeight="427" d:DesignWidth="685" xmlns:my="http://schemas.microsoft.com/surface/2008">

    <TabControl Name="Tabs" Height="Auto" Width="Auto">
    
        <TabItem Name="Capture_Replay_Tab" Header="Capture/Replay">
        
            <tabs:MainTab x:Name="mainTab"></tabs:MainTab>

        </TabItem>
        
        

        <TabItem Name="Rule_Base_Editor_Tab" Header="Rule Base Editor">
            <DockPanel Width="700" Height="400">
                
                <StackPanel Name="rulePanel"
                            Width="340"
                            DockPanel.Dock="Right"
                            ScrollViewer.HorizontalScrollBarVisibility="Auto"
                            ScrollViewer.VerticalScrollBarVisibility="Auto">
                    <StackPanel>
                        <Label Name="RuleBasesRulesView">
                            Rule:
                        </Label>
                        <ListBox Name="RuleBasesRulesEditorView" Loaded="ReloadScriptInfo"
                        Height="300"
                        SelectionChanged="RulesSelectionChanged"
                        SelectionMode="Single"
                        />
                    </StackPanel>
                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
                        <Button Name="RBAddRule" 
                                Width="80" 
                                Click="RB_AddRule_Button"
                                Margin="0, 25, 3, 0">
                            Add Rule
                        </Button>
                        <Button Name="RBEditRule" 
                                Width="80" 
                                Click="RB_EditRule_Button"
                                Margin="3, 25, 3, 0">
                            Edit Rule
                        </Button>
                        <Button Name="RBDeleteRule" 
                                Width="94" 
                                Click="RB_DeleteRule_Button"
                                Margin="3, 25, 0, 0">
                            Delete Rule
                        </Button>
                    </StackPanel>
                </StackPanel>
                
            </DockPanel>
        </TabItem>

        <TabItem Name="Settings_Tab" Header="Settings">
            <StackPanel>
                <StackPanel Orientation="Horizontal" Margin="15,15,0,0">
                    <TextBox Height="23" Name="projectPathText" IsReadOnly="True" IsEnabled="False" Width="391" />
                    <Button Content="Browse" Height="23" Name="SelectProjectRoot" Width="75" Click="SelectProjectRoot_Click" Margin="15,0,10,0" />
                    <Label Content="Selected Project" Height="28" HorizontalAlignment="Right" Name="project_selected" VerticalAlignment="Top" Width="127" />
                </StackPanel>
                <StackPanel Orientation="Horizontal" Margin="15,15,0,0">
                    <TextBox Height="23" Name="testDLLPath" IsEnabled="False" IsReadOnly="True" HorizontalAlignment="Left" Width="391" />
                    <Button Content="Browse" Height="23" Name="SelectTestDLL" Width="75" Click="SelectTestDLL_Click" Margin="15,0,10,0" />
                    <Label Content="NUnit Framework Folder" Height="28" HorizontalAlignment="Left" Name="test_dll" VerticalAlignment="Top" Width="142" />
                </StackPanel>
                <StackPanel Orientation="Vertical" Margin="15,15,0,0">
                    <Label>Advanced Options</Label>
                    <CheckBox Name="testCleanupBox" IsChecked="True" Unchecked="CheckAdvancedOptions" Checked="CheckAdvancedOptions">Test Cleanup</CheckBox>
                    <CheckBox Name="testScreenShots" IsChecked="True" Unchecked="CheckAdvancedOptions" Checked="CheckAdvancedOptions">Test Failure Slideshow</CheckBox>
                </StackPanel>
            </StackPanel>
        </TabItem>
    </TabControl>
</Window>
